package com.example.aerohub.controller;

import com.example.aerohub.pojo.param.SearchParam;
import com.example.aerohub.pojo.resp.Search.SearchResp;
import com.example.aerohub.service.impl.SearchServiceImpl;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MasterController {

	private SearchServiceImpl searchService;
	
	@PostMapping("/areohub/search")
	public SearchResp search(@RequestBody SearchParam param) {
		SearchResp resp = searchService.search(param);
		return null;
	}

}
